package com.irdstudio.efp.flow.common.vo;

import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/**
 * 
 * 页面审批信息展示
 * 
 * @author Cytus_
 * @since 2018年5月18日 下午3:45:40
 * @version 1.0
 *
 */
public class PageApproveShowVO {

	/**
	 * 业务节点实例号
	 */
	private String instNodeId;
	
	/**
	 * 任务编号
	 */
	//private String taskId;
	
	/**
	 * 任务名称
	 */
	//private String taskName;
	
	/**
	 * 业务节点编号
	 */
	private String bizNodeId;
	
	/**
	 * 业务节点名称
	 */
	private String bizNodeName;
	
	/**
	 * 业务插件ID
	 */
	//private String bizPluginId;
	
	/**
	 * 业务插件名称
	 */
	//private String bizPluginName;
	
	/**
	 * 页面插件对应页面地址
	 */
	//private List<String> uris;
	
	
	/**
	 * 当前任务状态
	 */
	//private String taskStatue;
	
	/**
	 * 页面插件对应的页面数据对象
	 */
	//private List<Object> vos;
	//private Map<String, Object> vos;
	
	/**
	 * 业务插件对象
	 */
	private List<PagePluginVO> vos;
	
	/**
	 * 节点类型
	 */
	private String bizNodeType;
	
	/**
	 * 业务流水号
	 */
	private String bizSerno;
	
	/**
	 * 事件ID
	 */
	private String eventId;
	
	/**
	 * 全局业务流水号/instflowid
	 */
	private String g_bizSerno;
	
	private String dealFlag;
	
	public String getDealFlag() {
        return dealFlag;
    }

    public void setDealFlag(String dealFlag) {
        this.dealFlag = dealFlag;
    }

    public String getG_bizSerno() {
		return g_bizSerno;
	}

	public void setG_bizSerno(String g_bizSerno) {
		this.g_bizSerno = g_bizSerno;
	}

	public String getBizSerno() {
		return bizSerno;
	}

	public void setBizSerno(String bizSerno) {
		this.bizSerno = bizSerno;
	}

	public String getEventId() {
		return eventId;
	}

	public void setEventId(String eventId) {
		this.eventId = eventId;
	}

	public String getInstNodeId() {
		return instNodeId;
	}

	public void setInstNodeId(String instNodeId) {
		this.instNodeId = instNodeId;
	}

	public String getBizNodeId() {
		return bizNodeId;
	}

	public void setBizNodeId(String bizNodeId) {
		this.bizNodeId = bizNodeId;
	}

	public String getBizNodeName() {
		return bizNodeName;
	}

	public void setBizNodeName(String bizNodeName) {
		this.bizNodeName = bizNodeName;
	}

	public String getBizNodeType() {
		return bizNodeType;
	}

	public void setBizNodeType(String bizNodeType) {
		this.bizNodeType = bizNodeType;
	}

	public List<PagePluginVO> getVos() {
		return vos;
	}

	public void setVos(List<PagePluginVO> vos) {
		this.vos = vos;
	}
	
	public void addVo(PagePluginVO vo) {
		if (Objects.isNull(this.vos)) {
			this.vos = new ArrayList<PagePluginVO>();
		}
		this.vos.add(vo);
	}
	
}
